package com.chixing.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;


import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author liwenjing
 * @since 2025-10-07
 */

public class Movie implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 电影ID
     */
    @TableId(value = "movie_id", type = IdType.AUTO)
    private Integer movieId;

    /**
     * 电影名称
     */
    private String movieName;

    /**
     * 电影图片
     */
    private String movieImage;

    /**
     * 电影评分
     */
    private BigDecimal movieScore;

    /**
     * 电影票房
     */
    private BigDecimal boxOffice;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 更新时间
     */
    private LocalDateTime updateTime;

    /**
     * 状态（1=热映中，0=已下映，2=未上映）
     */
    private Integer statues;

    /**
     * 版本号
     */
    private Integer version;

    /**
     * 其他字段1
     */
    private String other1;

    /**
     * 其他字段2
     */
    private String other2;

    public Integer getMovieId() {
        return movieId;
    }

    public void setMovieId(Integer movieId) {
        this.movieId = movieId;
    }
    public String getMovieName() {
        return movieName;
    }

    public void setMovieName(String movieName) {
        this.movieName = movieName;
    }
    public String getMovieImage() {
        return movieImage;
    }

    public void setMovieImage(String movieImage) {
        this.movieImage = movieImage;
    }
    public BigDecimal getMovieScore() {
        return movieScore;
    }

    public void setMovieScore(BigDecimal movieScore) {
        this.movieScore = movieScore;
    }
    public BigDecimal getBoxOffice() {
        return boxOffice;
    }

    public void setBoxOffice(BigDecimal boxOffice) {
        this.boxOffice = boxOffice;
    }
    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }
    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }
    public Integer getStatues() {
        return statues;
    }

    public void setStatues(Integer statues) {
        this.statues = statues;
    }
    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }
    public String getOther1() {
        return other1;
    }

    public void setOther1(String other1) {
        this.other1 = other1;
    }
    public String getOther2() {
        return other2;
    }

    public void setOther2(String other2) {
        this.other2 = other2;
    }

    @Override
    public String toString() {
        return "Movie{" +
            "movieId=" + movieId +
            ", movieName=" + movieName +
            ", movieImage=" + movieImage +
            ", movieScore=" + movieScore +
            ", boxOffice=" + boxOffice +
            ", createTime=" + createTime +
            ", updateTime=" + updateTime +
            ", statues=" + statues +
            ", version=" + version +
            ", other1=" + other1 +
            ", other2=" + other2 +
        "}";
    }
}
